<?php if (!defined('app_fox')) exit('No direct script access allowed');?>
<div class="ad-all clearfix hidden-xs hidden-sm">
	<?php if ($this->top_verified_users) {?>
	<?php foreach($this->top_verified_users as $key => $val) { ?>
	<div class="col-lg-3 col-md-4 sverified">
		<div class="mod_head">
		<a class="aw-user-img pull-left" href="people/<?php echo $val['url_token']; ?>">
			<img alt="" src="<?php echo get_avatar_url($val['uid'], 'mid'); ?>" />
		</a>
		<div class="meta pull-right">
		<p class="text-color-999 title">
			<a href="people/<?php echo $val['url_token']; ?>" class="aw-user-name"><?php echo $val['user_name']; ?></a>
			<?php if ($val['verified']) { ?><i class="icon-v<?php if ($val['verified'] == 'enterprise') { ?> i-ve<?php } ?>" title="<?php if ($val['verified'] == 'enterprise') { ?><?php _e('企业认证'); ?><?php } else { ?><?php _e('个人认证'); ?><?php } ?>"></i><?php } ?>
		</p>
		<p class="text-color-999 signature"><?php echo $val['signature']; ?></p>
		</div>
		</div>
		<div class="meta text-color-999 pull-left">
			<span><i class="icon icon-prestige text-color-999"></i><?php _e('威望'); ?> <b><?php echo $val['reputation']; ?></b></span>
			<span><i class="icon icon-agree text-color-999"></i><?php _e('赞同'); ?> <b><?php echo $val['agree_count']; ?></b></span>
		</div>
		<div class="meta text-color-999 pull-left">
			<span><i class="icon icon-thank text-color-999"></i><?php _e('感谢'); ?> <b><?php echo $val['thanks_count']; ?></b></span>
			<?php if (get_setting('integral_system_enabled') == 'Y') { ?><span><i class="icon icon-score text-color-999"></i><?php _e('积分'); ?> <b><?php echo $val['integral']; ?></b></span><?php } ?>
		</div>
		<div class="meta text-color-999 pull-left">		
		<?php if ($val['uid'] != $this->user_id AND $this->user_id) { ?>
		<div class="operate">
			<a href="javascript:;" onclick="AWS.User.follow($(this), 'user', <?php echo $val['uid'];?>);" class="text-color-999"><span><?php if ($val['focus']) { ?><?php _e('取消关注'); ?><?php } else { ?><?php _e('关注'); ?><?php } ?></span> <em>(</em><b><?php echo $val['fans_count']; ?>)</b></a>
			<em class="text-color-999">•</em>	
			<a onclick="AWS.dialog('publish', {category_enable:<?php echo (get_setting('category_enable') == 'Y') ? '1' : '0'; ?>, ask_user_id:<?php echo $val['uid']; ?>, ask_user_name:'<?php echo $val['user_name']; ?>'});" class="text-color-999"><?php _e('问Ta'); ?></a>
			<em class="text-color-999">•</em>	 
			<a onclick="AWS.dialog('inbox', '<?php echo $val['user_name']; ?>');" class="text-color-999"><?php _e('私信'); ?></a>
		</div>
		<?php } ?>

		<?php if ($val['reputation_topics']) { ?>
		<p>
			<span class="pull-left"><?php _e('擅长话题'); ?>:</span>
			<div class="aw-topic-bar">
				<div class="topic-bar clearfix">
					<?php foreach($val['reputation_topics'] as $t_key => $t_val) { ?>
						<span class="topic-tag">
							<a href="topic/<?php echo $t_val['url_token']; ?>" class="text" data-id="<?php echo $t_val['topic_id']; ?>"><?php echo $t_val['topic_title']; ?></a>
						</span>
					<?php } ?>
				</div>
			</div>
		</p>
		<?php } else if ($val['experience']) { ?>
		<p class="text-color-999">
			<?php foreach($val['experience'] as $t_key => $t_val) { ?>
				<a href="topic/<?php echo $t_val['topic_info']['url_token']; ?>" class="aw-topic-name" data-id="<?php echo $t_val['topic_id']; ?>"><span><?php echo $t_val['topic_info']['topic_title']; ?></span></a>
			<?php } ?>
			<?php _e('等话题下共获得 %s 个赞同', $val['total_agree_count']); ?>
		</p>
		<?php } ?>
		</div>
	</div>
	<?php } ?>
	<?php } ?>
</div>